-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linter: Update toolchain #2067
Linter: Update toolchain #2067
Conversation
@@ -224,8 +224,6 @@ impl<'a, 'tcx> AnalysisDomain<'tcx> for StrictBalanceEqualityAnalysis<'a, 'tcx> | |||
|
|||
const NAME: &'static str = "strict_balance_equality"; | |||
|
|||
type Direction = Forward; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The default Direction
is Forward
, see: rust-lang/rust#120130
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2067 +/- ##
=======================================
Coverage 53.60% 53.60%
=======================================
Files 224 224
Lines 7107 7107
Branches 3146 3146
=======================================
Hits 3810 3810
Misses 3297 3297 ☔ View full report in Codecov by Sentry. |
🦑 📈 ink! Example Contracts ‒ Changes Report 📉 🦑These are the results when building the
Link to the run | Last update: Fri Jan 19 15:00:54 CET 2024 |
Summary
cargo-contract
orpallet-contracts
?Update the toolchain version and the uses of internal rustc APIs.
Description
It would be beneficial to compile both the linter and
cargo-contract
using the same toolchain version. This approach would prevent the need to build a second toolchain in the CI and on user's machine when compiling a contract.The necessity of this update because
subxt
, a dependency ofcargo-contract
, requires rustc version 1.74.0 or higher, thereforecargo-contract
cannot be built with the toolchain used in the linter before this PR.Checklist before requesting a review
CHANGELOG.md